package com.ruoyi.dm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class DataCollectionParam {
    @ApiModelProperty(value = "id", name = "id")
    private Long id;
    @ApiModelProperty(value = "目录ID", name = "parentId")
    private Long parentId;
    @ApiModelProperty(value = "资料ID", name = "dataId")
    private Long dataId;
    @ApiModelProperty(value = "原始文件名称", name = "orFileName")
    private String orFileName;
    @ApiModelProperty(value = "文件显示名称", name = "fileName")
    private String fileName;
    @ApiModelProperty(value = "数据来源", name = "dataSource")
    private String dataSource;
    @ApiModelProperty(value = "文件地址", name = "filePath")
    private String filePath;
    @ApiModelProperty(value = "文件大小", name = "fileSize")
    private String fileSize;
    @ApiModelProperty(value = "文件类型", name = "fileType")
    private String fileType;
    @ApiModelProperty(value = "频次", name = "frequency")
    private String frequency;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间", name = "startTime")
    private Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间", name = "endTime")
    private Date endTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "入库时间", name = "createTime")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间", name = "updateTime")
    private Date updateTime;
    @ApiModelProperty(value = "资料名称", name = "dataName")
    private String dataName;
    @ApiModelProperty(value = "数据表名", name = "tableName")
    private String tableName;
    @ApiModelProperty(value = "当前页", name = "pageNum")
    private Integer pageNum;
    @ApiModelProperty(value = "每页大小", name = "pageSize")
    private Integer pageSize;

}
